package view;

import controllers.C_TooltipControl;
import controllers.ControlManager;
import processing.core.PApplet;

public class V_Applet extends PApplet{
	
	protected DisplayList viewManager;
	protected ControlManager controlManager;	
	protected V_Tooltip vTooltip; // tooltip view component. displays on mouseOver on registered objects
	protected C_TooltipControl cTooltip; // tooltip controller. Determines when to activate the tooltip and what content it should hold.  
	
	public void draw() {
	    controlManager.updateControllers(mouseX, mouseY, ""); // send mouse coordinates to all controllers all the time
	}
	
	// override this function to display unique content. 
	// redraw is called by components that are connected to the main controlManager
	public void reDraw() {}
}
